package cate.game.activity.newherotrial.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBHeroTrial;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "英雄试炼战斗结果 の 返回")
public class HeroTrialResultResp implements MsgOutput {
    @NoteField("功能id")
    public int funcId;

    @NoteField(value = "是否胜利")
    public boolean win;

    public HeroTrialResultResp() {}

    @Override
    public MsgConfig conf() {
        return MsgIdBHeroTrial.FIGHT_RESP;
    }

    public HeroTrialResultResp(int funcId, boolean win) {
        this.funcId = funcId;
        this.win = win;
    }
}
